# Description: libxslt kütüphanesi kullanılarak xslt php uyarlaması
# URL: http://www.php.net
# Packager: milisarge
# Depends on: libxslt

name=php-xsl
version=5.6.16
release=1
source=(http://www.php.net/distributions/php-$version.tar.xz)

build() {
	cd php-$version

	./configure --disable-all \
				--enable-libxml \
				--enable-dom \
				--with-xsl=shared,/usr
	make build-modules

	install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
	install -m 755 modules/xsl.so $PKG/usr/lib/php/extensions
	echo "extension=xsl.so" > $PKG/etc/php/conf.d/xsl.ini
}
